package project.meetemup.model;

import project.meetemup.dao.ProfileDAOImpl;

import com.j256.ormlite.field.DataType;
import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

/**
 * Model profile entity
 * @since 8/04/2012
 * @author João Paulo Mota
 */
@DatabaseTable(tableName = "profiles", daoClass = ProfileDAOImpl.class)
public class Profile {
	
	@DatabaseField(generatedId = true)
	private Long id;
	@DatabaseField(canBeNull = true, dataType = DataType.STRING)
	private String picturePath;
	@DatabaseField(canBeNull = true, dataType = DataType.STRING)
	private String name;
	@DatabaseField(canBeNull = true, dataType = DataType.STRING)	
	private String gender;
	@DatabaseField(canBeNull = true, dataType = DataType.STRING)	
	private String hairColor;
	@DatabaseField(canBeNull = true, dataType = DataType.STRING)	
	private String eyeColor;
	@DatabaseField(canBeNull = false, dataType = DataType.BOOLEAN)
	private boolean isActive;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}	
	
	public String getPicturePath() {
		return picturePath;
	}
	
	public void setPicturePath(String picturePath) {
		this.picturePath = picturePath;
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getGender() {
		return gender;
	}
	public void setGender(String gender) {
		this.gender = gender;
	}
	public String getHairColor() {
		return hairColor;
	}
	public void setHairColor(String hairColor) {
		this.hairColor = hairColor;
	}
	public String getEyeColor() {
		return eyeColor;
	}
	public void setEyeColor(String eyeColor) {
		this.eyeColor = eyeColor;
	}	
	
	public boolean isActive() {
		return isActive;
	}

	public void setActive(boolean isActive) {
		this.isActive = isActive;
	}	
	
}
